<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<jsp:include page="head.jsp"/>
<%--占位--%>
<div class="fly-panel">
</div>
<!--中间内容-->
<div class="layui-container" >
    <div class="layui-container fly-marginTop">
        <div class="fly-panel fly-panel-user" pad20>
            <div class="layui-tab layui-tab-brief" lay-filter="user">
                <ul class="layui-tab-title">
                    <li class="layui-this">密码登录</li>
                    <li><a href="${pageContext.request.contextPath}/user/to_loginEmail.do">邮箱验证登录</a></li>
                </ul>
                <div class="layui-form layui-tab-content" id="LAY_ucm" style="padding: 20px 0;">
                    <div class="layui-tab-item layui-show">
                        <div class="layui-form layui-form-pane">
                            <form action="${pageContext.request.contextPath}/user/login.do" method="post">
                                <div class="layui-form-item">
                                    <label for="L_username" class="layui-form-label">用户名</label>
                                    <div class="layui-input-inline">
                                        <input type="text" id="L_username" name="userName" required lay-verify="required" autocomplete="off" class="layui-input">
                                    </div>
                                    <div class="layui-form-mid">
                                        <span style="color: #c00;">${msg}</span>
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <label for="L_pass" class="layui-form-label">密码</label>
                                    <div class="layui-input-inline">
                                        <input type="password" id="L_pass" name="uPassword" required lay-verify="required" autocomplete="off" class="layui-input">
                                    </div>
                                    <%--<div class="layui-form-mid">
                                        <span style="color: #c00;">{{d.vercode}}</span>
                                    </div>--%>
                                </div>
                                <div class="layui-form-item">
                                    <button type="submit" class="layui-btn" lay-filter="*" lay-submit>立即登录</button>
                                    <span style="padding-left:20px;">
                                        <a href="${pageContext.request.contextPath}/user/to_forget.do">忘记密码？</a>
                                    </span>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<jsp:include page="bottom.jsp"/>
